#pragma once
#include "Model.h"
#include "DisplayManage.h"
#include "Widget.h"
#include "Container.h"

class DLL_EXP CMaskWidget : public CWidget
{
public:
	CWidget* m_pMaskedWidget;
	CMaskWidget(void);
	virtual ~CMaskWidget(void){};

	void Mask(CWidget* pWidget,int nAlpha=100);

	CWidget* GetMaskedWidget();
	
public:
	int CustDraw(CFrameSurface* pSurface);

};
